package com.uniubi.uface;

public class QualityJudgeJNI {
    static {
        //System.loadLibrary("uface_quality_judge_jni");
        initClass();
    }
    private static native int initClass();

    public static native long createHandle(int min_face_size);
    public static native void releaseHandle(long handle);

    public static native JudgeResult judgeImagePath(long handle, String imagePath);
    public static native JudgeResult judgeImageData(long handle, byte[] imageData);
    public static native JudgeResult judgeImagePixels(long handle, byte[] pixels, int width, int height);

    public static native void judgeDir(long handle, String dirPath);
}
